package com.mszlu.blog.service;

import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.params.CommentsParams;

public interface CommentsService {
    /**
     * 根据文章id获取评论
     * @param id
     * @return
     */
    Result findCommentsByArticleId(Long id);

    /**
     * 添加评论
     * @param commentsParams
     * @return
     */
    Result addComment(CommentsParams commentsParams);
}
